package com.rui.study.test.oom;

import java.util.ArrayList;
import java.util.List;

public class HeapOOM {

    public static void main(String[] args) {
        List<HeapOOM> objs = new ArrayList<HeapOOM>();
        while (true) {
            objs.add(new HeapOOM());
        }
    }
}
